#!/usr/bin/env python
# encoding: utf-8
# @author: Lin Han
# @contact: voldemort22@126.com
# @file: queryModels.py
# @time: 2021/4/13 15:49
# @desc:
from typing import List, Optional

from pydantic import BaseModel


class Args(BaseModel):
    name: str
    code: Optional[str]
    v: float


class StandardPartChangeSize(BaseModel):
    number: str
    args: List[Args]


class UploadStandardPartModel(BaseModel):
    jsonAliOssAddress: str
    category: str
    desc: str
    version: str
